<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SMTC Modem API: smtc_modem_test_api.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SMTC Modem API
   </div>
   <div id="projectbrief">Generic Modem API description</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">smtc_modem_test_api.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="smtc__modem__test__api_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifndef SMTC_MODEM_TEST_API_H__</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define SMTC_MODEM_TEST_API_H__</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> * --- DEPENDENCIES ------------------------------------------------------------</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span>   <span class="comment">// C99 types</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#include &lt;stdbool.h&gt;</span>  <span class="comment">// bool type</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160; </div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#include &quot;ral.h&quot;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="smtc__modem__api_8h.html">smtc_modem_api.h</a>&quot;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment"> * --- PUBLIC MACROS -----------------------------------------------------------</span></div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment"> * --- PUBLIC CONSTANTS --------------------------------------------------------</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment"> * --- PUBLIC TYPES ------------------------------------------------------------</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4">   68</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4">smtc_modem_test_sf_e</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;{</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a848c2b64b13898617577a6018fa1bc95">   70</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a848c2b64b13898617577a6018fa1bc95">SMTC_MODEM_TEST_FSK</a> = 0,        </div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7bc2863c73ba71f8abfd6b278fcf11f2">   71</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7bc2863c73ba71f8abfd6b278fcf11f2">SMTC_MODEM_TEST_LORA_SF5</a>,       </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4adb12ed9076f9abdb86db2717749a01ed">   72</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4adb12ed9076f9abdb86db2717749a01ed">SMTC_MODEM_TEST_LORA_SF6</a>,       </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a5ab9dc39c3d7890a2986e28b000838a4">   73</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a5ab9dc39c3d7890a2986e28b000838a4">SMTC_MODEM_TEST_LORA_SF7</a>,       </div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a79a04c9a91c0efadf4cd56e28caf66e6">   74</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a79a04c9a91c0efadf4cd56e28caf66e6">SMTC_MODEM_TEST_LORA_SF8</a>,       </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4ad8ec6d8a996687f13601a6b41ee18cc5">   75</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4ad8ec6d8a996687f13601a6b41ee18cc5">SMTC_MODEM_TEST_LORA_SF9</a>,       </div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7ffd13e9b708c04f7747ab85d359a848">   76</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7ffd13e9b708c04f7747ab85d359a848">SMTC_MODEM_TEST_LORA_SF10</a>,      </div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0f38aa018e2edfb8ce6269043347bb9b">   77</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0f38aa018e2edfb8ce6269043347bb9b">SMTC_MODEM_TEST_LORA_SF11</a>,      </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0c26e3f279016ea6b60175b55d8e43c5">   78</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0c26e3f279016ea6b60175b55d8e43c5">SMTC_MODEM_TEST_LORA_SF12</a>,      </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a670d26981935ac23aae8cc9bf620d8cd">   79</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a670d26981935ac23aae8cc9bf620d8cd">SMTC_MODEM_TEST_LORA_SF_COUNT</a>,  </div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a0904e049e2f6a4193846c8374d0526b1">   80</a></span>&#160;} <a class="code" href="smtc__modem__test__api_8h.html#a0904e049e2f6a4193846c8374d0526b1">smtc_modem_test_sf_t</a>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffe">   85</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffe">smtc_modem_test_bw_e</a></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;{</div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaaa38b1e867e6d9a2856b14e3fa565e38">   87</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaaa38b1e867e6d9a2856b14e3fa565e38">SMTC_MODEM_TEST_BW_125_KHZ</a>,   </div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaff3d9e9d9ae8d5c8407e9497db014b0f">   88</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaff3d9e9d9ae8d5c8407e9497db014b0f">SMTC_MODEM_TEST_BW_250_KHZ</a>,   </div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea7685c055bdde68f741e0aa14f2b7da22">   89</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea7685c055bdde68f741e0aa14f2b7da22">SMTC_MODEM_TEST_BW_500_KHZ</a>,   </div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeabd7d2baba344bd579800b1cfbed7d284">   90</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeabd7d2baba344bd579800b1cfbed7d284">SMTC_MODEM_TEST_BW_200_KHZ</a>,   </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeac16ccd9991c395e1d987905ef14f8f95">   91</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeac16ccd9991c395e1d987905ef14f8f95">SMTC_MODEM_TEST_BW_400_KHZ</a>,   </div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaca524147520fe0d196077553eb67aade">   92</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaca524147520fe0d196077553eb67aade">SMTC_MODEM_TEST_BW_800_KHZ</a>,   </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea22bf0fd6dd37d86811d204514880dc63">   93</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea22bf0fd6dd37d86811d204514880dc63">SMTC_MODEM_TEST_BW_1600_KHZ</a>,  </div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea3b1cafa9b2b332f808bf7b9afb9df983">   94</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea3b1cafa9b2b332f808bf7b9afb9df983">SMTC_MODEM_TEST_BW_COUNT</a>,     </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">   95</a></span>&#160;} <a class="code" href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">smtc_modem_test_bw_t</a>;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a9765f9f6409d325af061eb64b08962f4">  100</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__test__api_8h.html#a9765f9f6409d325af061eb64b08962f4">smtc_modem_test_bw_m_e</a></div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;{</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;    SMTC_MODEM_TEST_BW_12M = 15,</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    SMTC_MODEM_TEST_BW_18M,</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    SMTC_MODEM_TEST_BW_24M,</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#aaa230d9073b152c55859320ba84ac1ee">  105</a></span>&#160;} <a class="code" href="smtc__modem__test__api_8h.html#aaa230d9073b152c55859320ba84ac1ee">smtc_modem_test_bw_m_t</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44">  110</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44">smtc_modem_test_cr_e</a></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;{</div>
<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3a2b0104d2c562352f61fb1762aea4ff">  112</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3a2b0104d2c562352f61fb1762aea4ff">SMTC_MODEM_TEST_CR_4_5</a> = 0,  </div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3c6604fa6b3f96760d5328cc38e1cc3a">  113</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3c6604fa6b3f96760d5328cc38e1cc3a">SMTC_MODEM_TEST_CR_4_6</a>,      </div>
<div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44aed7b25d2859541a642d6b396979e3fe9">  114</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44aed7b25d2859541a642d6b396979e3fe9">SMTC_MODEM_TEST_CR_4_7</a>,      </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a1265b30c843944ed11a534b96272932c">  115</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a1265b30c843944ed11a534b96272932c">SMTC_MODEM_TEST_CR_4_8</a>,      </div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a0e9aa9a43941cd759a771a588b094d40">  116</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a0e9aa9a43941cd759a771a588b094d40">SMTC_MODEM_TEST_CR_LI_4_5</a>,   </div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ab406b78fe61964e4de604633c065f938">  117</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ab406b78fe61964e4de604633c065f938">SMTC_MODEM_TEST_CR_LI_4_6</a>,   </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a9a65b53b981532338fa6e46dbf52a5d0">  118</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a9a65b53b981532338fa6e46dbf52a5d0">SMTC_MODEM_TEST_CR_LI_4_8</a>,   </div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ad76525e9f577ae563f9d5262464992b5">  119</a></span>&#160;    <a class="code" href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ad76525e9f577ae563f9d5262464992b5">SMTC_MODEM_TEST_CR_COUNT</a>,    </div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a7bcf4639ccbe1985115e5ab739ac14c8">  120</a></span>&#160;} <a class="code" href="smtc__modem__test__api_8h.html#a7bcf4639ccbe1985115e5ab739ac14c8">smtc_modem_test_cr_t</a>;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="comment">/* clang-format on */</span></div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; </div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment"> * --- PUBLIC FUNCTIONS PROTOTYPES ---------------------------------------------</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#ae4ed95342283486ae78119ec2f2b8625">  135</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#ae4ed95342283486ae78119ec2f2b8625">smtc_modem_test_start</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#abb9e8571cfc7ce7569941ef0ba242127">  143</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#abb9e8571cfc7ce7569941ef0ba242127">smtc_modem_test_stop</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; </div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a34f5ca7f29b38519cdbcf0893349ceda">  151</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a34f5ca7f29b38519cdbcf0893349ceda">smtc_modem_test_nop</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a2427b7dfe039254cd332fb58bd9fc1c5">  158</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a2427b7dfe039254cd332fb58bd9fc1c5">smtc_modem_test_tx_hop</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#ac697e3107ac55c3314fcac3f019a0ea0">  176</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#ac697e3107ac55c3314fcac3f019a0ea0">smtc_modem_test_tx</a>( uint8_t* payload, uint8_t payload_length, uint32_t frequency_hz,</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;                                             int8_t tx_power_dbm, <a class="code" href="smtc__modem__test__api_8h.html#a0904e049e2f6a4193846c8374d0526b1">smtc_modem_test_sf_t</a> sf, <a class="code" href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">smtc_modem_test_bw_t</a> bw,</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;                                             <a class="code" href="smtc__modem__test__api_8h.html#a7bcf4639ccbe1985115e5ab739ac14c8">smtc_modem_test_cr_t</a> cr, uint32_t preamble_size, <span class="keywordtype">bool</span> continuous_tx );</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#ae56be76203131e5ea05e7836375248d4">  189</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#ae56be76203131e5ea05e7836375248d4">smtc_modem_test_tx_cw</a>( uint32_t frequency_hz, int8_t tx_power_dbm );</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a2f896f7d13346465a8a837bfa9e42d92">  202</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a2f896f7d13346465a8a837bfa9e42d92">smtc_modem_test_rx_continuous</a>( uint32_t frequency_hz, <a class="code" href="smtc__modem__test__api_8h.html#a0904e049e2f6a4193846c8374d0526b1">smtc_modem_test_sf_t</a> sf,</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;                                                        <a class="code" href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">smtc_modem_test_bw_t</a> bw, <a class="code" href="smtc__modem__test__api_8h.html#a7bcf4639ccbe1985115e5ab739ac14c8">smtc_modem_test_cr_t</a> cr );</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a6b0044416a14398f5c92852a4eada0ce">  213</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a6b0044416a14398f5c92852a4eada0ce">smtc_modem_test_get_nb_rx_packets</a>( uint32_t* nb_rx_packets );</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a631637357b450c2920e922286f795e90">  225</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a631637357b450c2920e922286f795e90">smtc_modem_test_rssi</a>( uint32_t frequency_hz, <a class="code" href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">smtc_modem_test_bw_t</a> bw, uint16_t time_ms );</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a30a2daff5dd8e6d0da460d6b74fc2d1c">  235</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a30a2daff5dd8e6d0da460d6b74fc2d1c">smtc_modem_test_get_rssi</a>( int8_t* rssi );</div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a9030ba0ea78c2094b668a83278b18d4c">  242</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="smtc__modem__test__api_8h.html#a9030ba0ea78c2094b668a83278b18d4c">smtc_modem_test_set_rssi</a>( int16_t rssi );</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a6af75ef49c59429cc72f808e89b96f7b">  250</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a6af75ef49c59429cc72f808e89b96f7b">smtc_modem_test_radio_reset</a>( <span class="keywordtype">void</span> );</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a01a7b96503133d131b855e6e5806ce8b">  261</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a01a7b96503133d131b855e6e5806ce8b">smtc_modem_test_duty_cycle_app_activate</a>( <span class="keywordtype">bool</span> status );</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a3adc0d01ff62e3c9918bb8213d777de4">  273</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a3adc0d01ff62e3c9918bb8213d777de4">smtc_modem_test_direct_radio_write</a>( uint8_t* command, uint16_t command_length, uint8_t* data,</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;                                                             uint16_t data_length );</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00286"></a><span class="lineno"><a class="line" href="smtc__modem__test__api_8h.html#a668422895c42154dab4d21af4695c8e6">  286</a></span>&#160;<a class="code" href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a> <a class="code" href="smtc__modem__test__api_8h.html#a668422895c42154dab4d21af4695c8e6">smtc_modem_test_direct_radio_read</a>( uint8_t* command, uint16_t command_length, uint8_t* data,</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                                                            uint16_t data_length );</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;}</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160; </div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">// SMTC_MODEM_TEST_API_H__</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="comment">/* --- EOF ------------------------------------------------------------------ */</span></div>
<div class="ttc" id="asmtc__modem__api_8h_html"><div class="ttname"><a href="smtc__modem__api_8h.html">smtc_modem_api.h</a></div><div class="ttdoc">Generic Modem API description.</div></div>
<div class="ttc" id="asmtc__modem__api_8h_html_a952d295e178005c052f035b4099ada4a"><div class="ttname"><a href="smtc__modem__api_8h.html#a952d295e178005c052f035b4099ada4a">smtc_modem_return_code_t</a></div><div class="ttdeci">enum smtc_modem_return_code_e smtc_modem_return_code_t</div><div class="ttdoc">Modem Return Codes.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a01a7b96503133d131b855e6e5806ce8b"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a01a7b96503133d131b855e6e5806ce8b">smtc_modem_test_duty_cycle_app_activate</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_duty_cycle_app_activate(bool status)</div><div class="ttdoc">Enable / disable the applicative dutycycle.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a07fe2a8ce0f3a41efc85724db499ea92"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a07fe2a8ce0f3a41efc85724db499ea92">smtc_modem_test_bw_t</a></div><div class="ttdeci">enum smtc_modem_test_bw_e smtc_modem_test_bw_t</div><div class="ttdoc">Test mode Bandwith type.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a0904e049e2f6a4193846c8374d0526b1"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a0904e049e2f6a4193846c8374d0526b1">smtc_modem_test_sf_t</a></div><div class="ttdeci">enum smtc_modem_test_sf_e smtc_modem_test_sf_t</div><div class="ttdoc">Test mode Spreading Factor type.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a2427b7dfe039254cd332fb58bd9fc1c5"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a2427b7dfe039254cd332fb58bd9fc1c5">smtc_modem_test_tx_hop</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_tx_hop(void)</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a2f896f7d13346465a8a837bfa9e42d92"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a2f896f7d13346465a8a837bfa9e42d92">smtc_modem_test_rx_continuous</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_rx_continuous(uint32_t frequency_hz, smtc_modem_test_sf_t sf, smtc_modem_test_bw_t bw, smtc_modem_test_cr_t cr)</div><div class="ttdoc">Test mode RX continue.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a30a2daff5dd8e6d0da460d6b74fc2d1c"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a30a2daff5dd8e6d0da460d6b74fc2d1c">smtc_modem_test_get_rssi</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_get_rssi(int8_t *rssi)</div><div class="ttdoc">Get RSSI result (to be called when test rssi is finished)</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44">smtc_modem_test_cr_e</a></div><div class="ttdeci">smtc_modem_test_cr_e</div><div class="ttdoc">Test mode Coding Rate type.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:111</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44a0e9aa9a43941cd759a771a588b094d40"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a0e9aa9a43941cd759a771a588b094d40">SMTC_MODEM_TEST_CR_LI_4_5</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_LI_4_5</div><div class="ttdoc">CR 4/5 long interleaved.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:116</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44a1265b30c843944ed11a534b96272932c"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a1265b30c843944ed11a534b96272932c">SMTC_MODEM_TEST_CR_4_8</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_4_8</div><div class="ttdoc">CR 4/8.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:115</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44a3a2b0104d2c562352f61fb1762aea4ff"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3a2b0104d2c562352f61fb1762aea4ff">SMTC_MODEM_TEST_CR_4_5</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_4_5</div><div class="ttdoc">CR 4/5.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:112</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44a3c6604fa6b3f96760d5328cc38e1cc3a"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a3c6604fa6b3f96760d5328cc38e1cc3a">SMTC_MODEM_TEST_CR_4_6</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_4_6</div><div class="ttdoc">CR 4/6.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:113</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44a9a65b53b981532338fa6e46dbf52a5d0"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44a9a65b53b981532338fa6e46dbf52a5d0">SMTC_MODEM_TEST_CR_LI_4_8</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_LI_4_8</div><div class="ttdoc">CR 4/8 long interleaved.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:118</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44ab406b78fe61964e4de604633c065f938"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ab406b78fe61964e4de604633c065f938">SMTC_MODEM_TEST_CR_LI_4_6</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_LI_4_6</div><div class="ttdoc">CR 4/6 long interleaved.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:117</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44ad76525e9f577ae563f9d5262464992b5"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44ad76525e9f577ae563f9d5262464992b5">SMTC_MODEM_TEST_CR_COUNT</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_COUNT</div><div class="ttdoc">Count.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:119</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a33bb498a5566193ca59d8d4885e32c44aed7b25d2859541a642d6b396979e3fe9"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a33bb498a5566193ca59d8d4885e32c44aed7b25d2859541a642d6b396979e3fe9">SMTC_MODEM_TEST_CR_4_7</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_CR_4_7</div><div class="ttdoc">CR 4/7.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:114</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a34f5ca7f29b38519cdbcf0893349ceda"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a34f5ca7f29b38519cdbcf0893349ceda">smtc_modem_test_nop</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_nop(void)</div><div class="ttdoc">Perform no operation. This function can be used to terminate an ongoing continuous operation.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a3adc0d01ff62e3c9918bb8213d777de4"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a3adc0d01ff62e3c9918bb8213d777de4">smtc_modem_test_direct_radio_write</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_direct_radio_write(uint8_t *command, uint16_t command_length, uint8_t *data, uint16_t data_length)</div><div class="ttdoc">Direct access to radio command write.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a631637357b450c2920e922286f795e90"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a631637357b450c2920e922286f795e90">smtc_modem_test_rssi</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_rssi(uint32_t frequency_hz, smtc_modem_test_bw_t bw, uint16_t time_ms)</div><div class="ttdoc">Test mode RSSI.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffe"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffe">smtc_modem_test_bw_e</a></div><div class="ttdeci">smtc_modem_test_bw_e</div><div class="ttdoc">Test mode Bandwith type.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:86</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffea22bf0fd6dd37d86811d204514880dc63"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea22bf0fd6dd37d86811d204514880dc63">SMTC_MODEM_TEST_BW_1600_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_1600_KHZ</div><div class="ttdoc">BW1600.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:93</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffea3b1cafa9b2b332f808bf7b9afb9df983"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea3b1cafa9b2b332f808bf7b9afb9df983">SMTC_MODEM_TEST_BW_COUNT</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_COUNT</div><div class="ttdoc">Count.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:94</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffea7685c055bdde68f741e0aa14f2b7da22"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffea7685c055bdde68f741e0aa14f2b7da22">SMTC_MODEM_TEST_BW_500_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_500_KHZ</div><div class="ttdoc">BW500.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:89</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffeaaa38b1e867e6d9a2856b14e3fa565e38"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaaa38b1e867e6d9a2856b14e3fa565e38">SMTC_MODEM_TEST_BW_125_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_125_KHZ</div><div class="ttdoc">BW125.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:87</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffeabd7d2baba344bd579800b1cfbed7d284"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeabd7d2baba344bd579800b1cfbed7d284">SMTC_MODEM_TEST_BW_200_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_200_KHZ</div><div class="ttdoc">BW200.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:90</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffeac16ccd9991c395e1d987905ef14f8f95"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeac16ccd9991c395e1d987905ef14f8f95">SMTC_MODEM_TEST_BW_400_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_400_KHZ</div><div class="ttdoc">BW400.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:91</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffeaca524147520fe0d196077553eb67aade"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaca524147520fe0d196077553eb67aade">SMTC_MODEM_TEST_BW_800_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_800_KHZ</div><div class="ttdoc">BW800.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:92</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a63640687516a10065784f866533aaffeaff3d9e9d9ae8d5c8407e9497db014b0f"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a63640687516a10065784f866533aaffeaff3d9e9d9ae8d5c8407e9497db014b0f">SMTC_MODEM_TEST_BW_250_KHZ</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_BW_250_KHZ</div><div class="ttdoc">BW250.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:88</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a668422895c42154dab4d21af4695c8e6"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a668422895c42154dab4d21af4695c8e6">smtc_modem_test_direct_radio_read</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_direct_radio_read(uint8_t *command, uint16_t command_length, uint8_t *data, uint16_t data_length)</div><div class="ttdoc">Direct access to radio command read.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a6af75ef49c59429cc72f808e89b96f7b"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a6af75ef49c59429cc72f808e89b96f7b">smtc_modem_test_radio_reset</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_radio_reset(void)</div><div class="ttdoc">Reset the Radio for test purpose.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a6b0044416a14398f5c92852a4eada0ce"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a6b0044416a14398f5c92852a4eada0ce">smtc_modem_test_get_nb_rx_packets</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_get_nb_rx_packets(uint32_t *nb_rx_packets)</div><div class="ttdoc">Read number of received packets during test RX continue.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a7bcf4639ccbe1985115e5ab739ac14c8"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a7bcf4639ccbe1985115e5ab739ac14c8">smtc_modem_test_cr_t</a></div><div class="ttdeci">enum smtc_modem_test_cr_e smtc_modem_test_cr_t</div><div class="ttdoc">Test mode Coding Rate type.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a9030ba0ea78c2094b668a83278b18d4c"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a9030ba0ea78c2094b668a83278b18d4c">smtc_modem_test_set_rssi</a></div><div class="ttdeci">void smtc_modem_test_set_rssi(int16_t rssi)</div><div class="ttdoc">Test mode Set RSSI.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_a9765f9f6409d325af061eb64b08962f4"><div class="ttname"><a href="smtc__modem__test__api_8h.html#a9765f9f6409d325af061eb64b08962f4">smtc_modem_test_bw_m_e</a></div><div class="ttdeci">smtc_modem_test_bw_m_e</div><div class="ttdoc">Test mode Bandwith type (high bandwidth)</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:101</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aaa230d9073b152c55859320ba84ac1ee"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aaa230d9073b152c55859320ba84ac1ee">smtc_modem_test_bw_m_t</a></div><div class="ttdeci">enum smtc_modem_test_bw_m_e smtc_modem_test_bw_m_t</div><div class="ttdoc">Test mode Bandwith type (high bandwidth)</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4">smtc_modem_test_sf_e</a></div><div class="ttdeci">smtc_modem_test_sf_e</div><div class="ttdoc">Test mode Spreading Factor type.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:69</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a0c26e3f279016ea6b60175b55d8e43c5"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0c26e3f279016ea6b60175b55d8e43c5">SMTC_MODEM_TEST_LORA_SF12</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF12</div><div class="ttdoc">SF12.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:78</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a0f38aa018e2edfb8ce6269043347bb9b"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a0f38aa018e2edfb8ce6269043347bb9b">SMTC_MODEM_TEST_LORA_SF11</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF11</div><div class="ttdoc">SF11.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:77</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a5ab9dc39c3d7890a2986e28b000838a4"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a5ab9dc39c3d7890a2986e28b000838a4">SMTC_MODEM_TEST_LORA_SF7</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF7</div><div class="ttdoc">SF7.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:73</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a670d26981935ac23aae8cc9bf620d8cd"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a670d26981935ac23aae8cc9bf620d8cd">SMTC_MODEM_TEST_LORA_SF_COUNT</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF_COUNT</div><div class="ttdoc">Count.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:79</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a79a04c9a91c0efadf4cd56e28caf66e6"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a79a04c9a91c0efadf4cd56e28caf66e6">SMTC_MODEM_TEST_LORA_SF8</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF8</div><div class="ttdoc">SF8.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:74</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a7bc2863c73ba71f8abfd6b278fcf11f2"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7bc2863c73ba71f8abfd6b278fcf11f2">SMTC_MODEM_TEST_LORA_SF5</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF5</div><div class="ttdoc">SF5.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:71</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a7ffd13e9b708c04f7747ab85d359a848"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a7ffd13e9b708c04f7747ab85d359a848">SMTC_MODEM_TEST_LORA_SF10</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF10</div><div class="ttdoc">SF10.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:76</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4a848c2b64b13898617577a6018fa1bc95"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4a848c2b64b13898617577a6018fa1bc95">SMTC_MODEM_TEST_FSK</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_FSK</div><div class="ttdoc">FSK.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:70</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4ad8ec6d8a996687f13601a6b41ee18cc5"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4ad8ec6d8a996687f13601a6b41ee18cc5">SMTC_MODEM_TEST_LORA_SF9</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF9</div><div class="ttdoc">SF9.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:75</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_aadec391c5d4a85c2e74cea5583d1e9f4adb12ed9076f9abdb86db2717749a01ed"><div class="ttname"><a href="smtc__modem__test__api_8h.html#aadec391c5d4a85c2e74cea5583d1e9f4adb12ed9076f9abdb86db2717749a01ed">SMTC_MODEM_TEST_LORA_SF6</a></div><div class="ttdeci">@ SMTC_MODEM_TEST_LORA_SF6</div><div class="ttdoc">SF6.</div><div class="ttdef"><b>Definition:</b> smtc_modem_test_api.h:72</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_abb9e8571cfc7ce7569941ef0ba242127"><div class="ttname"><a href="smtc__modem__test__api_8h.html#abb9e8571cfc7ce7569941ef0ba242127">smtc_modem_test_stop</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_stop(void)</div><div class="ttdoc">Exit modem test mode.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_ac697e3107ac55c3314fcac3f019a0ea0"><div class="ttname"><a href="smtc__modem__test__api_8h.html#ac697e3107ac55c3314fcac3f019a0ea0">smtc_modem_test_tx</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_tx(uint8_t *payload, uint8_t payload_length, uint32_t frequency_hz, int8_t tx_power_dbm, smtc_modem_test_sf_t sf, smtc_modem_test_bw_t bw, smtc_modem_test_cr_t cr, uint32_t preamble_size, bool continuous_tx)</div><div class="ttdoc">Test mode TX single or continue.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_ae4ed95342283486ae78119ec2f2b8625"><div class="ttname"><a href="smtc__modem__test__api_8h.html#ae4ed95342283486ae78119ec2f2b8625">smtc_modem_test_start</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_start(void)</div><div class="ttdoc">Put modem in test mode.</div></div>
<div class="ttc" id="asmtc__modem__test__api_8h_html_ae56be76203131e5ea05e7836375248d4"><div class="ttname"><a href="smtc__modem__test__api_8h.html#ae56be76203131e5ea05e7836375248d4">smtc_modem_test_tx_cw</a></div><div class="ttdeci">smtc_modem_return_code_t smtc_modem_test_tx_cw(uint32_t frequency_hz, int8_t tx_power_dbm)</div><div class="ttdoc">Test mode transmit a continuous wave.</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
